import { Html, Head, Main, NextScript } from "next/document";
import siteMetadata from "../user.InterfaceLayer/utils/siteMetaData";

export default function Document() {
  return (
    <Html lang={siteMetadata.language}>
      <Head>
        <meta charSet="UTF-8" />
        <title>Магазин Одежды VEETSOK</title>
        <meta name="description" content={siteMetadata.description} />
        <meta name="author" content={siteMetadata.author} />
        <meta name="robots" content="index, follow" />
        <meta property="og:title" content={siteMetadata.title} />
        <meta property="og:description" content={siteMetadata.description} />
        <meta property="og:url" content={siteMetadata.siteUrl} />
        <meta property="og:site_name" content={siteMetadata.title} />
        <meta property="og:type" content="website" />
        <meta
          property="og:image"
          content={`${siteMetadata.siteUrl}${siteMetadata.siteLogo}`}
        />
        <meta property="og:image:width" content="1200" />
        <meta property="og:image:height" content="630" />
        <meta name="twitter:card" content="summary_large_image" />
        <meta name="twitter:title" content={siteMetadata.title} />
        <meta name="twitter:description" content={siteMetadata.description} />
        <meta
          name="twitter:image"
          content={`${siteMetadata.siteUrl}${siteMetadata.siteLogo}`}
        />
      </Head>
      <body>
        <Main />
        <NextScript />
      </body>
    </Html>
  );
}
